package designPattern.AdapterPattern.saver.impl;

import designPattern.AdapterPattern.saver.SDCard;

/**
 * fileName: SDCardImpl
 * description: ...
 *
 * @author lihaogn-main
 * @version 1.0
 * @date 2019/9/18 20:55
 */
public class SDCardImpl implements SDCard {

    @Override
    public String readSD() {
        String msg = "读sd卡：hello world";
        return msg;
    }

    @Override
    public int writeSD(String msg) {
        System.out.println("写sd：" + msg);
        return 1;
    }
}
